<?php
include (dirname(__FILE__)."/session.inc.php");//全局变量

$smarty->assign("title",$cfg['sysName']);		//系统名称
$smarty->display("main.tpl");
?>